﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page isELIgnored="false" %>
<html>
    
    <head>
        <meta charset="utf-8">
        
        
       
        <link rel="stylesheet" type="text/css" href="../css/owl.carousel.css" media="screen"
        />
       
        
        <link rel="stylesheet" type="text/css" href="../css/animate.css" media="screen"
        />
       
        <link rel="stylesheet" type="text/css" href="../css/style-red.css" media="screen"
        />
        <link rel="stylesheet" type="text/css" href="../css/tk.css" media="screen"
        />
        <script type="text/javascript" src="../js/jquery.min.js">
        </script>
       
        <script type="text/javascript" src="../js/owl.carousel.min.js">
        </script>
        <link href="../css/boot.css" rel="stylesheet">
    <link href="../css/blog.css" rel="stylesheet">

        <style>

            h2 {
                padding-left: 10px;
                border-bottom: 1px dotted black;
                width: 500px;
                font-family:隶书;
                color: black;

            }
            label{
                font-family:隶书;
                color: black;
                font-size: 30px;
            }
        </style>
       

    </head>

    
    <body>
       <jsp:include page="header.jsp" flush="true"/>
	<div class="intr">
    	<span class="avtar"></span>
        <p class="peointr"><%=java.net.URLDecoder.decode((String) request.getAttribute("nickName"), "utf-8")%></p>
        <c:if test="${requestScope.userType eq 2}">
            <span id="teacher" style="font-size: 15px;color: #f5f5f5;"><br>&#40;老师&#41;</span>
        </c:if>
    </div>


       <div style="font-size: 25px">
           <div align="center"style="margin-top: 20px;">
               <h2>TA的信息</h2>
           </div>

           <div style="float: left;margin:30px 0px 0px 30%;width: 40%;">

               <c:if test="${!(requestScope.schoolName eq null)}">
                   <label>学校名称:</label><span><%=java.net.URLDecoder.decode((String) request.getAttribute("schoolName"), "utf-8")%></span><br />
               </c:if>
               <c:if test="${!(requestScope.major eq null)}">
                   <label>专业:</label><span><%=java.net.URLDecoder.decode((String) request.getAttribute("major"), "utf-8")%></span><br />
               </c:if>
               <c:if test="${!(requestScope.intro eq null)}">
                   <label>自我介绍:</label><span><%=java.net.URLDecoder.decode((String) request.getAttribute("intro"), "utf-8")%></span><br />
               </c:if>
               <c:if test="${!(requestScope.contactType eq 0)}">
                   <label>联系方式:</label>
                   <span>${requestScope.contact}(
                    <c:choose>
                        <c:when test="${requestScope.contactType eq 1}">QQ</c:when>
                        <c:when test="${requestScope.contactType eq 2}">微信</c:when>
                        <c:when test="${requestScope.contactType eq 3}">邮箱</c:when>
                    </c:choose>
                   )
               </span>
               </c:if>
           </div>

       </div>



        <script type="text/javascript" src="../js/jquery.isotope.min.js">
        </script>
       
      <script type="text/javascript" src="../js/waypoint.min.js">
        </script>
        
        
        <script type="text/javascript" src="../js/script.js">
        </script>
    <script src="../js/bootstrap.min.js"></script>
    <script src="../js/plugin.js"></script>
       
       
        
       
    </body>

</html>